package com.demo.webapp.views.freemarker.directive.model;

/**
 * 指令参数模型
 * @author ryuu.kk
 *
 */
public class Attribute implements java.io.Serializable {

	/**
	 * 版本序列化ID
	 */
	private static final long serialVersionUID = -3270619897142220058L;

	/**
	 * 参数名
	 */
	private String name;
	
	/**
	 * 是否必须
	 */
	private boolean required;
	
	/**
	 * 默认值
	 */
	private String defaultValue;

	/**
	 * 参数描述
	 */
	private String description;
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isRequired() {
		return required;
	}

	public void setRequired(boolean required) {
		this.required = required;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
